package com.rongji.dfish.hello.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * PubOrganize entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "PUB_ORGANIZE")
public class PubOrganize implements java.io.Serializable {

	// Fields

	private String orgId;
	private String orgName;
	private String orgParent;
	private String orgPath;
	private Long orgOrder;
	private String orgStatus;

	// Constructors

	/** default constructor */
	public PubOrganize() {
	}

	/** minimal constructor */
	public PubOrganize(String orgId, String orgName, String orgParent) {
		this.orgId = orgId;
		this.orgName = orgName;
		this.orgParent = orgParent;
	}

	/** full constructor */
	public PubOrganize(String orgId, String orgName, String orgParent, String orgPath, Long orgOrder,
			String orgStatus) {
		this.orgId = orgId;
		this.orgName = orgName;
		this.orgParent = orgParent;
		this.orgPath = orgPath;
		this.orgOrder = orgOrder;
		this.orgStatus = orgStatus;
	}

	// Property accessors
	@Id
	@Column(name = "ORG_ID", unique = true, nullable = false, length = 32)
	public String getOrgId() {
		return this.orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	@Column(name = "ORG_NAME", nullable = false, length = 600)
	public String getOrgName() {
		return this.orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	@Column(name = "ORG_PARENT", nullable = false, length = 32)
	public String getOrgParent() {
		return this.orgParent;
	}

	public void setOrgParent(String orgParent) {
		this.orgParent = orgParent;
	}

	@Column(name = "ORG_PATH", length = 600)
	public String getOrgPath() {
		return this.orgPath;
	}

	public void setOrgPath(String orgPath) {
		this.orgPath = orgPath;
	}

	@Column(name = "ORG_ORDER", precision = 18, scale = 0)
	public Long getOrgOrder() {
		return this.orgOrder;
	}

	public void setOrgOrder(Long orgOrder) {
		this.orgOrder = orgOrder;
	}

	@Column(name = "ORG_STATUS", length = 1)
	public String getOrgStatus() {
		return this.orgStatus;
	}

	public void setOrgStatus(String orgStatus) {
		this.orgStatus = orgStatus;
	}

}